Add blink-matching-check-function and misc cleanups.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 2 Sep 2010 21:57:08 +0000 (23:57 +0200)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 2 Sep 2010 21:57:08 +0000 (23:57 +0200)
commit06c3089c6b8b6b5c446ad4005c397b3463a1dc5e
treeb408a4ba9509f9a1b961703ac73959a6465d5879
parentc8731c444821d3732ac894069a062fa54d6c531f
Add blink-matching-check-function and misc cleanups.
* lisp/simple.el (newline): Eliminate optimization.
Use post-self-insert-hook to set hard-newline and things before
running post-self-insert-hook.
(blink-matching-check-mismatch): New function.
(blink-matching-check-function): New variable.
(blink-matching-open): Use them.
Skip back forward over prefix chars skipped by forward-sexp.
Don't check if the parens are backslash escaped.
(blink-paren-post-self-insert-function): Check backslash escaping here.
lisp/ChangeLog
lisp/simple.el